define('component/main/MainHeader', ['component/main/mixin', 'component/main/FullScreen', 'text!./MainHeader.html'], function (mixin, FullScreen, template) {
  return {
    template: template,
    name: 'MainHeader',
    mixins: [mixin],
    components: { FullScreen},
    props: {
      collapsed: Boolean,
      size: {
        type: Number,
        default: 26
      }
    },
    computed: {
      breadCrumbList() {
        // console.log(this.$store.state.breadCrumbList)
        return this.$store.state.breadCrumbList
      }
    },
    methods: {
      handleChange() {
        this.$emit('on-change', !this.collapsed)
      }
    }
  }
})
